<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page language="java" import="java.util.*"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<script>
function test()
{

var s=document.getElementById("question").value;

}
function test1()
{

var s=document.getElementById("questiondesc").value;

}
</script>
<body>
<html:form action="askquestiondetail.do">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="left" valign="top" bgcolor="#CCCCCC">
    <td><%--<form>--%></td>
    <td bordercolor="#FFFFFF">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr align="left" valign="top">
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bordercolor="#FFFFFF"><table border="0" cellpadding="3" cellspacing="0" bordercolor="#000000">
      <tr>
        <td><table align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="1039" colspan="2" align="left" valign="top"><img src="image/img_header.jpg" width="770" height="1"></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top"><iframe src="header3.jsp" width="100%"
scrolling="no"
marginwidth="0" marginheight="0" frameborder="0"> </iframe></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="10" align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td width="10" align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" class="title1">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="title1 style10">Asking </td>
                    <td align="left" valign="top" class="title1">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="brown_18">Review,improve, and submit</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content">Review the wording, ensure it is a meaningful question</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">
                      <%--                   <html:textarea property="question" styleId="question" cols="65" rows="4" style="black_blod" ></html:textarea>
                      <html:textarea name="solrForm" property="question" styleId="question" cols="65" rows="4" style="black_blod" ></html:textarea>--%>
                      <%--<input name="question" type="text" >--%>
                    </td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content">10 characters left</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="top" class="table_content">                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><strong>Language:</strong></td>
                        <td><select name="select" size="1">
                          <option>English English English </option>
                        </select></td>
                      </tr>
                    </table>                      <label></label>                      </td>
                    <td align="left" valign="top" class="table_content"><span class="login_b-t"><img src="image/img_question.jpg" width="18" height="18"></span></td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="table_content"><span class="black_blod">Optional:</span> Explain your question further if necessary. Up to 1000 characters..</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top"> <html:textarea property="questiondesc" styleId="questiondesc"  cols="78" rows="10" style="table_content"></html:textarea> <br>
                        <br>
                        <br>
                    </td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td width="134" align="left" valign="top" class="login_b-t"> <html:checkbox   property="watchQuestion" ><span class="login_b-l">watch this question </span></html:checkbox>
                        <%--                  <input type="checkbox" name="watchQuestion" >--%>
                    </td>
                    <td width="230" align="left" valign="top" class="login_b-t">&nbsp;</td>
                    <td width="44" align="center" valign="top" class="login_b-t"><img src="image/img_question.jpg" width="18" height="18"></td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top" class="login_b-t">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">&nbsp;</td>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="2" align="left" valign="middle"><table width="106"   border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="252"><a class="button_long" href="#" onclick="this.blur(); return false;"><span class="button_long"> <b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Submit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></span></a></td>
                        </tr>
                    </table></td>
                    </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top"><%--                  <a href="Asking_3.htm">--%>
                      <%--                  <html:link action="/askquestiondetail" >        </html:link>--%>
                      <%                  
                    ServletRequest req = pageContext.getRequest();
					String question1=(String)req.getAttribute("question") ;
					req.setAttribute("questionTest",question1);
					String questionDesc1=(String) request.getAttribute("questiondesc");
					
					Map QuestionDetList=new HashMap();
					QuestionDetList.put("question",question1);
					QuestionDetList.put("questiondesc",questionDesc1);				
					req.setAttribute("QuestionDetList",QuestionDetList);
					
					 %>
                      <%--<html:link action="/askquestiondetail" name="QuestionDetList" onclick="test1()" >--%>
                      <%--                  <img src="jsp/web/image/but_sumit.gif" width="100" height="30" border="0">--%>
                      <%--                  </html:link>--%>
                      <%--                      <html:image src="jsp/web/image/but_sumit.gif"></html:image>--%>
                      <%--<html:submit>submit button</html:submit>--%>
                      <%--                  </a>--%>
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">                  
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">&nbsp;</td>
                    <td colspan="3" align="left" valign="top">
                    <td align="left" valign="top">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">
                <%@ include file="footer1.jsp" %>
                <%--              <iframe src="jsp/web/footer1.html" width="100%" height="85"--%>
                <%--scrolling="no"--%>
                <%--marginwidth="0" marginheight="0" frameborder="0">--%>
                <%--</iframe>--%>
              </td>
            </tr>
        </table></td>
      </tr>
    </table></td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
  <tr align="left" valign="top">
    <td width="50%" bgcolor="#CCCCCC"><%--</form>--%></td>
    <td bordercolor="#FFFFFF" bgcolor="#CCCCCC">&nbsp;</td>
    <td width="50%" bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
</table>
</html:form>

</body>
</html>
